package logic.weapons.projectileWeapons;

import logic.ships.equipmentListener.WeaponChangedEvent;
import logic.weapons.Weapon;

public class ProjectileChangedEvent extends WeaponChangedEvent {
	
	protected int oldAmount, newAmount;
	
	public ProjectileChangedEvent(Weapon weapon, int oldAmount, int newAmount) {
		super(weapon);
		this.oldAmount = oldAmount;
		this.newAmount = newAmount;
	}
	
	public int getOldAmount() { return oldAmount; }
	
	public int getNewAmount() { return newAmount; }
}